﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Sales.DTO.Output
{
    public class QuotationAdd
    {
        public QuotationCommandDTO quotationDTO { get; set; }
        public List<QuotationParticularsCommandDTO> quotationParticularsDTOs { get; set; }
    }



    public class QuotationCommandDTO
    {
        /// <summary>
        /// 报价单名称
        /// </summary>
        public string Quotation_Name { get; set; }
        /// <summary>
        /// 报价单编号
        /// </summary>
        public string Quotation_Number { get; set; }
        /// <summary>
        /// 客户Id
        /// </summary>
        public int Customer_Id { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal Tax_Rate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Quotation_Descr { get; set; }
    };

    public class QuotationParticularsCommandDTO
    {      /// <summary>
           /// 销售数量
           /// </summary>
        public int Sales_Quantity { get; set; }
        /// <summary>
        /// 报价单编号
        /// </summary>
        public string Sales_Number { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int Product_Id { get; set; }
        /// <summary>
        /// 新未税价格
        /// </summary>
        public decimal New_Price { get; set; }
        /// <summary>
        /// 新含税价格
        /// </summary>
        public decimal Price_Tex { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Particulars_Descr { get; set; }
    };
}
